﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace L9SubSet {
    public partial class Form_SubIndex : Form {
        private Form_MainSet frmMain;
        public Form_SubIndex(Form_MainSet parent) {
            InitializeComponent();
            this.StartPosition = FormStartPosition.CenterParent;
            this.FormBorderStyle = FormBorderStyle.FixedSingle;
            frmMain = parent;
        }

        private void fixSubPositionButton_Click(object sender, EventArgs e) {
            frmMain.fixSubPositionButtonPerformClick();
        }

        private void clearSubPositionButton_Click(object sender, EventArgs e) {
            frmMain.clearSubPositionButtonPerformClick();
        }
    }
}
